﻿// [SBCS - SB C-RUNTIME SERVICE LIBRARY]
// Copyright by BRUCE KIM 1998-2013
//
// This source is under SB license. you can derive this license to BSD or ZLIB license.
// Refer to 'sblicense.txt'
//
#ifndef __SB_H__
#define __SB_H__

#if _MSC_VER
#pragma once
#endif

#if __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#pragma GCC diagnostic ignored "-Wmissing-braces"
#endif

// SB CS
#include "sbdefs.h"		// basic definition
#include "sbcs.h"		// c runtime service
#include "sbhs.h"		// h script service
#include "sbtpl.h"		// c++ template
#include "sbmath.h"		// c++ math class
#include "sbcsx.h"		// c++ cs class
#include "sbctn.h"		// c++ container class

#if defined(_MSC_VER) && !defined(_SB_NO_PRAGMA_LIB)
#	if _SB_WINDOWS_DESKTOP_
#		if _SB_64_
#			ifdef _STATIC
#				pragma comment(lib, "sbcs64_static")
#			else
#				if _SB_DEBUG_
#					pragma comment(lib, "sbcs64_debug")
#				else
#					pragma comment(lib, "sbcs64")
#				endif
#			endif
#		else
#			ifdef _STATIC
#				pragma comment(lib, "sbcs_static")
#			else
#				if _SB_DEBUG_
#					pragma comment(lib, "sbcs_debug")
#				else
#					pragma comment(lib, "sbcs")
#				endif
#			endif
#		endif
#	elif _SB_WINDOWS_STORE_
#		pragma comment(lib, "sbcs.Windows.lib")
#	elif _SB_WINDOWS_PHONE_ 
#		pragma comment(lib, "sbcs.WindowsPhone.lib")
#	endif	// _SB_WINDOWS_DESKTOP_
#endif	// _MSC_VER

#if __GNUC__
#pragma GCC diagnostic pop
#endif

#endif	// __SB_H__
